package com.zsf.serviceImp;

import org.apache.ibatis.session.SqlSession;

import com.zsf.dao.AdminstratorsDao;
import com.zsf.pojo.Administrators;
import com.zsf.service.AdminstratorsService;
import com.zsf.util.MyBatiseUtil;

public class AdminstratorsServiceImp implements AdminstratorsService {

	public Administrators getAdminByAP(Administrators administrators) {
		SqlSession session=MyBatiseUtil.getSession();
		AdminstratorsDao adminstratorsDao=session.getMapper(AdminstratorsDao.class);
		return adminstratorsDao.selectByAP(administrators);
	}
	
}
